package com.cax.module.enterprise.domain.dto;


import com.cax.common.domain.base.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 企业证书表更新DTO
 * @author makejava
 * @date 2024-08-22 17:25:18
 */
@Data
@ApiModel(value = "EnterpriseCertificateUpdateDTO", description = "企业证书表更新DTO")
public class EnterpriseCertificateUpdateDTO  implements Serializable {
	private static final long serialVersionUID = -54460280074172888L;

    @ApiModelProperty(value = "企业证书表-主键id")
    private Integer id;

	@ApiModelProperty(value = "企业名称")
    @NotNull(message = "企业名称 不能为空")
    private String name;

	@ApiModelProperty(value = "企业地址")
    @NotNull(message = "企业地址 不能为空")
    private String addr;

	@ApiModelProperty(value = "证书等级")
    @NotNull(message = "证书等级 不能为空")
    private String grade;

	@ApiModelProperty(value = "证书编号")
    @NotNull(message = "证书编号 不能为空")
    private String num;

	@ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("文件id")
    @NotNull(message = "证书照片 不能为空")
    private Long fileId;


}

